<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Win32Service Service Control Message Constants</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="win32service.constants.servicestatus.html">Win32Service Service Status Constants</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="win32service.constants.controlsaccepted.html">Win32Service Service Control Message Accepted Bitmasks</a></div>
 <div class="up"><a href="win32service.constants.html">预定义常量</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="win32service.constants.servicecontrol" class="section">
  <table class="doctable table">
   <caption><strong>Win32Service Service Control Message Constants</strong></caption>
   
    <thead>
     <tr>
      <th>Constant</th>
      <th>Value</th>
      <th>Description</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr id="constant.win32-service-control-continue">
      <td><strong><code>WIN32_SERVICE_CONTROL_CONTINUE</code></strong></td>
      <td>0x00000003</td>
      <td>
       Notifies a paused service that it should resume.
      </td>
     </tr>

     <tr id="constant.win32-service-control-interrogate">
      <td><strong><code>WIN32_SERVICE_CONTROL_INTERROGATE</code></strong></td>
      <td>0x00000004</td>
      <td>
       Notifies a service that it should report its current status information
       to the service control manager.
      </td>
     </tr>

     <tr id="constant.win32-service-control-pause">
      <td><strong><code>WIN32_SERVICE_CONTROL_PAUSE</code></strong></td>
      <td>0x00000002</td>
      <td>
       Notifies a service that it should pause.
      </td>
     </tr>

     <tr id="constant.win32-service-control-preshutdown">
      <td><strong><code>WIN32_SERVICE_CONTROL_PRESHUTDOWN</code></strong></td>
      <td>0x0000000F</td>
      <td>
       Notifies a service that the system will be shutting down. A service that
       handles this notification blocks system shutdown until the service stops
       or the preshutdown time-out interval expires. This value is not supported
       by Windows Server 2003 and Windows XP/2000.
      </td>
     </tr>

     <tr id="constant.win32-service-control-shutdown">
      <td><strong><code>WIN32_SERVICE_CONTROL_SHUTDOWN</code></strong></td>
      <td>0x00000005</td>
      <td>
       Notifies a service that the system is shutting down so the service can
       perform cleanup tasks. If a service accepts this control code, it must
       stop after it performs its cleanup tasks. After the SCM sends this
       control code, it will not send other control codes to the service.
      </td>
     </tr>

     <tr id="constant.win32-service-control-stop">
      <td><strong><code>WIN32_SERVICE_CONTROL_STOP</code></strong></td>
      <td>0x00000001</td>
      <td>
       Notifies a service that it should stop.
      </td>
     </tr>

    </tbody>
   
  </table>

 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="win32service.constants.servicestatus.html">Win32Service Service Status Constants</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="win32service.constants.controlsaccepted.html">Win32Service Service Control Message Accepted Bitmasks</a></div>
 <div class="up"><a href="win32service.constants.html">预定义常量</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
